package com.xtzn.mapper;
/**
 * 功能描述: <br>
 * **
 * 
 * @author zyw
 * @version [版本号, 2018年4月19日]
 */

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xtzn.mapper.entity.ThirdParty;

public interface IThirdPartyMapper {

	public List<ThirdParty> selectThirdPartyByPage(@Param("userId")Integer userId,@Param("skips")Integer skips,@Param("pageSize")Integer pageSize);
	
	public ThirdParty selectThirdPartyById(@Param("id")Integer id);
	
    public int deleteById(@Param("id")Integer id);
	
	public int deleteBatchById(@Param("list")List<Integer> list); 
	
	public int insertThirdParty(ThirdParty thirdParty);
	
	public int updateThirdParty(ThirdParty thirdParty);
	
	public Integer selectCount(@Param("userId")Integer userId);
	
	public List<ThirdParty> selectAllThirdParty(@Param("userId")Integer userId);

	
}
